export default {
    column: [{
        label: '个人信息',
        prop: 'info',
        option: {
            submitText: '修改',
            emptyBtn: false,
            column: [{
                label: '姓名',
                span: 6,
                row: true,
                prop: 'realname',
                rules: [{
                    required: true,
                    message: '请输入姓名',
                    trigger: 'change'
                }]
            }, {
                label: '手机号',
                span: 12,
                row: true,
                prop: 'telephone',
                rules: [{
                    required: true,
                    message: '请输入手机号',
                    trigger: 'change'
                }]
            }, {
                label: '个性签名',
                prop: 'sign',
                span: 24,
                row: true,
                type: 'textarea',
                minRows: 5,
                maxRows: 8
            }]
        }
    }, {
        label: '修改密码',
        prop: 'password',
        option: {
            submitText: '修改',
            emptyBtn: false,
            column: [{
                label: '原密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'oldPwd',
                rules: [{
                    required: true,
                    message: '请输入原密码',
                    trigger: 'change'
                }]
            }, {
                label: '新密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'newPwd',
                rules: [{
                    required: true,
                    message: '请输入新密码',
                    trigger: 'change'
                }]
            }, {
                label: '确认密码',
                span: 12,
                row: true,
                type: 'password',
                prop: 'newPwd2',
                rules: [{
                    required: true,
                    message: '请输入确认密码',
                    trigger: 'change'
                }]
            }]
        }
    }]
}
